<bc:ExDATA x:Class="SLS.Presentation.DATAFOREIGNKEYLIST" 
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
                xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                xmlns:exc="clr-namespace:SLS.Controls;assembly=CLSControls" 
                xmlns:bc="clr-namespace:SLS.Base;assembly=CLSBase"
                xmlns:my="clr-namespace:SLS.Presentation"
                xmlns:ldb="clr-namespace:SLS.Presentation.Data;assembly=FOREIGNKEYLISTTB"
                x:Name="Container" 
                ToolTip="{Binding DisplayName}"
                xmlns:meffed="http:\\www.codeplex.com\MEFedMVVM"            
           mc:Ignorable="d"       
           d:DesignHeight="300"
           d:DesignWidth="500"                         
        >
    <bc:ExDATA.Resources> 
    <!--Update on2012/10/20 14:57:44 -->
        <ldb:FOREIGNKEYLISTDataSet  x:Key="SETUI" />
    <CollectionViewSource x:Key="vwBaseTable" Source="{Binding Path=FOREIGNKEYLIST,Source={StaticResource SETUI}}" />
    <CollectionViewSource   x:Key="vwGTDEF" Source="{Binding Path=ViewDataSet.SetGlobal.GTDEF}"/>
    <CollectionViewSource   x:Key="vwGoodsMasterKeyRelation" Source="{Binding Path=ViewDataSet.SetGlobal.GoodsMasterKeyRelation}"/>
    <CollectionViewSource   x:Key="vwGTKR" Source="{Binding Path=ViewDataSet.SetGlobal.GTKR}"/>
    <CollectionViewSource   x:Key="vwGTPR" Source="{Binding Path=ViewDataSet.SetGlobal.GTPR}"/>
    <CollectionViewSource   x:Key="vwGTAR" Source="{Binding Path=ViewDataSet.SetGlobal.GTAR}"/>
    </bc:ExDATA.Resources>  
     <Grid Name="MasterGrid"
          VerticalAlignment="Top"
          HorizontalAlignment="Stretch"
          Width="{Binding ElementName=Container,Path=ActualWidth}">  
    <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />  
        </Grid.RowDefinitions>    
         <StackPanel>
           <WrapPanel>
                <exc:NMICD Name="NMICD"> 
                </exc:NMICD>
            </WrapPanel>            
    <DataGrid 
          Name="MainGridData"
          ItemsSource="{Binding Source={DynamicResource ResourceKey=vwBaseTable}}"
          AutoGenerateColumns="False"
          IsSynchronizedWithCurrentItem="True"
          SelectionChanged="MainGridData_SelectionChanged"
          SelectionMode="Extended"
          Height="Auto"
          ColumnWidth="SizeToHeader"
          SelectionUnit="FullRow">
        <DataGrid.Columns>
                    <DataGridTemplateColumn>
                        <DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <exc:PopUpMenuTextBox
                                    Name="DATAPopUpMenu"
                                    Loaded="DATAPopUpMenu_Loaded"
                                     />
                            </DataTemplate>
                        </DataGridTemplateColumn.CellTemplate>
                    </DataGridTemplateColumn>        
                <DataGridTextColumn x:Name="FID"
                                    Binding="{Binding Path=FID}"
                                    Header="FID"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TYPE"
                                    Binding="{Binding Path=TYPE}"
                                    Header="TYPE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="BUNIQUE"
                                    Binding="{Binding Path=BUNIQUE}"
                                    Header="BUNIQUE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="FOREIGNKEY"
                                    Binding="{Binding Path=FOREIGNKEY}"
                                    Header="FOREIGNKEY"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TBNAME"
                                    Binding="{Binding Path=TBNAME}"
                                    Header="TBNAME"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TTTABLE"
                                    Binding="{Binding Path=TTTABLE}"
                                    Header="TTTABLE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="CHECKINGTYPE"
                                    Binding="{Binding Path=CHECKINGTYPE}"
                                    Header="CHECKINGTYPE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="UPDATETYPE"
                                    Binding="{Binding Path=UPDATETYPE}"
                                    Header="UPDATETYPE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="YKREAL"
                                    Binding="{Binding Path=YKREAL}"
                                    Header="YKREAL"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY0"
                                    Binding="{Binding Path=KEY0}"
                                    Header="KEY0"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY1"
                                    Binding="{Binding Path=KEY1}"
                                    Header="KEY1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY2"
                                    Binding="{Binding Path=KEY2}"
                                    Header="KEY2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY3"
                                    Binding="{Binding Path=KEY3}"
                                    Header="KEY3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY4"
                                    Binding="{Binding Path=KEY4}"
                                    Header="KEY4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY5"
                                    Binding="{Binding Path=KEY5}"
                                    Header="KEY5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY6"
                                    Binding="{Binding Path=KEY6}"
                                    Header="KEY6"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY7"
                                    Binding="{Binding Path=KEY7}"
                                    Header="KEY7"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY8"
                                    Binding="{Binding Path=KEY8}"
                                    Header="KEY8"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KEY9"
                                    Binding="{Binding Path=KEY9}"
                                    Header="KEY9"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TFOREIGNKEY"
                                    Binding="{Binding Path=TFOREIGNKEY}"
                                    Header="TFOREIGNKEY"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY0"
                                    Binding="{Binding Path=TKEY0}"
                                    Header="TKEY0"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY1"
                                    Binding="{Binding Path=TKEY1}"
                                    Header="TKEY1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY2"
                                    Binding="{Binding Path=TKEY2}"
                                    Header="TKEY2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY3"
                                    Binding="{Binding Path=TKEY3}"
                                    Header="TKEY3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY4"
                                    Binding="{Binding Path=TKEY4}"
                                    Header="TKEY4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY5"
                                    Binding="{Binding Path=TKEY5}"
                                    Header="TKEY5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY6"
                                    Binding="{Binding Path=TKEY6}"
                                    Header="TKEY6"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY7"
                                    Binding="{Binding Path=TKEY7}"
                                    Header="TKEY7"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY8"
                                    Binding="{Binding Path=TKEY8}"
                                    Header="TKEY8"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="TKEY9"
                                    Binding="{Binding Path=TKEY9}"
                                    Header="TKEY9"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="LDES"
                                    Binding="{Binding Path=LDES}"
                                    Header="LDES"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="SDES"
                                    Binding="{Binding Path=SDES}"
                                    Header="SDES"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="CONDITIONS"
                                    Binding="{Binding Path=CONDITIONS}"
                                    Header="CONDITIONS"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="FUSER"
                                    Binding="{Binding Path=FUSER}"
                                    Header="FUSER"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="FDATE"
                                    Binding="{Binding Path=FDATE}"
                                    Header="FDATE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="LUSER"
                                    Binding="{Binding Path=LUSER}"
                                    Header="LUSER"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="LDATE"
                                    Binding="{Binding Path=LDATE}"
                                    Header="LDATE"
                                    Width="SizeToHeader" />
            </DataGrid.Columns>
          </DataGrid>  
             </StackPanel>
            <GridSplitter Grid.Row="1"></GridSplitter>            
              <ScrollViewer 
                Grid.Row="2" >
                   <WrapPanel  >                          
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="FID:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="FIDTextBox"
                                    Text="{Binding Path=FID,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TYPE:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TYPETextBox"
                                    Text="{Binding Path=TYPE,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="BUNIQUE:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="BUNIQUETextBox"
                                    Text="{Binding Path=BUNIQUE,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="FOREIGNKEY:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="FOREIGNKEYTextBox"
                                    Text="{Binding Path=FOREIGNKEY,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TBNAME:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TBNAMETextBox"
                                    Text="{Binding Path=TBNAME,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TTTABLE:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TTTABLETextBox"
                                    Text="{Binding Path=TTTABLE,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="CHECKINGTYPE:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="CHECKINGTYPETextBox"
                                    Text="{Binding Path=CHECKINGTYPE,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="UPDATETYPE:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="UPDATETYPETextBox"
                                    Text="{Binding Path=UPDATETYPE,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="YKREAL:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="YKREALTextBox"
                                    Text="{Binding Path=YKREAL,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY0:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY0TextBox"
                                    Text="{Binding Path=KEY0,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY1:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY1TextBox"
                                    Text="{Binding Path=KEY1,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY2:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY2TextBox"
                                    Text="{Binding Path=KEY2,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY3:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY3TextBox"
                                    Text="{Binding Path=KEY3,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY4:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY4TextBox"
                                    Text="{Binding Path=KEY4,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY5:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY5TextBox"
                                    Text="{Binding Path=KEY5,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY6:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY6TextBox"
                                    Text="{Binding Path=KEY6,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY7:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY7TextBox"
                                    Text="{Binding Path=KEY7,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY8:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY8TextBox"
                                    Text="{Binding Path=KEY8,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="KEY9:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="KEY9TextBox"
                                    Text="{Binding Path=KEY9,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TFOREIGNKEY:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TFOREIGNKEYTextBox"
                                    Text="{Binding Path=TFOREIGNKEY,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY0:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY0TextBox"
                                    Text="{Binding Path=TKEY0,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY1:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY1TextBox"
                                    Text="{Binding Path=TKEY1,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY2:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY2TextBox"
                                    Text="{Binding Path=TKEY2,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY3:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY3TextBox"
                                    Text="{Binding Path=TKEY3,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY4:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY4TextBox"
                                    Text="{Binding Path=TKEY4,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY5:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY5TextBox"
                                    Text="{Binding Path=TKEY5,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY6:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY6TextBox"
                                    Text="{Binding Path=TKEY6,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY7:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY7TextBox"
                                    Text="{Binding Path=TKEY7,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY8:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY8TextBox"
                                    Text="{Binding Path=TKEY8,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="TKEY9:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="TKEY9TextBox"
                                    Text="{Binding Path=TKEY9,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="LDES:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="LDESTextBox"
                                    Text="{Binding Path=LDES,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="SDES:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="SDESTextBox"
                                    Text="{Binding Path=SDES,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="CONDITIONS:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="CONDITIONSTextBox"
                                    Text="{Binding Path=CONDITIONS,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="FUSER:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="FUSERTextBox"
                                    Text="{Binding Path=FUSER,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="FDATE:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                            <DatePicker Grid.Column="1" Grid.Row="0" Height="25" 
                            HorizontalAlignment="Left" Margin="3" 
                            SelectedDate="{Binding Path=FDATE, 
                            Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}" 
                            VerticalAlignment="Center" Width="115" />
                            
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="LUSER:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                                    <TextBox Grid.Column="1"
                                    Grid.Row="0"
                                    Height="23"
                                    HorizontalAlignment="Left"
                                    Margin="3"
                                    Name="LUSERTextBox"
                                    Text="{Binding Path=LUSER,Source={DynamicResource ResourceKey=vwBaseTable},   Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}"
                                    VerticalAlignment="Center"
                                    Width="120" />
                        </Grid>
                    </Grid> 
                        <Grid>
                        <Grid HorizontalAlignment="Left" Margin="0,0,0,0"  VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Label Content="LDATE:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" 
                            VerticalAlignment="Center" />
                            <DatePicker Grid.Column="1" Grid.Row="0" Height="25" 
                            HorizontalAlignment="Left" Margin="3" 
                            SelectedDate="{Binding Path=LDATE, 
                            Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}" 
                            VerticalAlignment="Center" Width="115" />
                            
                        </Grid>
                    </Grid> 
                    </WrapPanel>
          </ScrollViewer>  
    </Grid>
</bc:ExDATA>
